Skip to content

new frame tool#222

Closed
yzemaze wants to merge 9 commits intobk138:masterfrom
yzemaze:dev_frame_tool
Closed

new frame tool#222
yzemaze wants to merge 9 commits intobk138:masterfrom
yzemaze:dev_frame_tool

Conversation

@yzemaze
Copy link
Copy Markdown
Contributor

@yzemaze yzemaze commented Feb 1, 2025

I needed a way to easier and faster highlight things. The new tool FRAME allows drawing predefined rectangles around the clicked location – with just one click. Rectangles don’t have perfect (sharp) outer corners on purpose as I was set on using cairo_arc to facilitate rounded corners and drawing circles as well (radius = xlength/2).
With the addition of fillcolor there should be many useful options, including drawing dots (circles with color = fillcolor or size = xlength = ylength).
Due to width already being in use in paint_context_new I opted for xlength (and ylength instead of height). I couldn’t find more descriptive terms.
I decided not to change the default radius of 10 to not mess with orthogonal.

@bk138
Copy link
Copy Markdown
Owner

bk138 commented Nov 4, 2025

This is probably too much of a special use case, so I won't merge this one. But thank you very much for this and your other contributions ❤️!

@bk138 bk138 closed this Nov 4, 2025
@yzemaze
Copy link
Copy Markdown
Contributor Author

yzemaze commented Nov 8, 2025

I get it. It’s a pity though, because it works great for me and would’ve been just the start. (I’ve added counters and character/emoji-stamps, alas both relying on this PR.)
Thanks for all your work. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants